/*
Theme Name: Devana
Theme URI: 
Author: Devana Technologies
Author URI: http://devana.rs
Description: 
Version: 1.0
*/

@font-face {
    font-family: 'nBrandonRegular';
    src: url('http://devana.rs/blog/wp-content/themes/devana/font/brandon_reg.eot');
    src: url('http://devana.rs/blog/wp-content/themes/devana/font/brandon_reg.woff') format('woff'),
    url('http://devana.rs/blog/wp-content/themes/devana/font/brandon_reg.ttf') format('truetype'),
    url('http://devana.rs/blog/wp-content/themes/devana/font/brandon_reg.svg#nBrandonRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: 'BrandonRegular';
    src: url('http://devana.rs/blog/wp-content/themes/devana/font/brandon_reg.otf');
}
@font-face{
    font-family: 'BrandonLight';
    src: url('http://devana.rs/blog/wp-content/themes/devana/font/brandon_light.otf');
}
@font-face{
    font-family: 'BrandonLightItalic';
    src: url('http://devana.rs/blog/wp-content/themes/devana/font/brandon_light_it.otf');
}
@font-face{
    font-family: 'BrandonBlack';
    src: url('http://devana.rs/blog/wp-content/themes/devana/font/brandon_blk.otf');
}


html{
    font-size: 34px;
    font-family: 'BrandonRegular', Helvetica, Arial;
    color: #5F4F4A;
    position: relative;
    min-height: 100%;
    background: #FBFBFB;
}
@media all and (max-width: 1920px) {
    html{
        font-size: 26px;
    }
}
@media all and (max-width: 1366px) {
    html{
        font-size: 19px;
    }
}
@media all and (max-width: 1024px) {
    html{
        font-size: 14px;
    }
}

body{
    margin: 0;
}

h1{
    font-family: 'BrandonBlack';
    font-weight: normal;
    font-size: 2.375em;
    margin: 0.5em auto;
    width: 70%;
}
h2{
    font-family: 'BrandonBlack';
    font-weight: normal;
    font-size: 1.5em;
    margin: 1em 0;
}
h3{
    font-family: 'BrandonBlack';
    font-weight: normal;
    font-size: 1.25em;
    margin: 1em 0;
}
h4{
    font-family: 'BrandonBlack';
    font-weight: normal;
    font-size: 1.125em;
    margin: 1em 0;
}
h5{
    font-family: 'BrandonBlack';
    font-weight: normal;
    font-size: 1em;
    margin: 1em 0;
}
p{
    margin: 1em 0;
    line-height: 1.4em;
}
a, a:visited{
    color: #5F4F4A;
    outline: none;
}
a:hover{
    color: #A6B640 !important;
}
header a{
    text-decoration: none;
}
ul{

}
ul li{

}
ol{

}
ol li{

}
em, i{

}
strong, b{
    font-family: 'BrandonBlack';
    font-weight: normal;
}
hr{
    border: none;
    border-bottom: 1px ;
}
blockquote{
    background: #F9F9F9;
    margin: 1em 0;
    padding: 1em;
    color: #A7B842;
    font-variant: small-caps;
    font-style:italic;
}
table{
    border-collapse: collapse;
    font-size: 0.75em;
    width: 100%;
}
tr{
    border-bottom: 1px solid rgba(0, 39, 59, 0.08);
}
td{
    padding: 0.25em;
}

.clear-both{
    clear: both;
}

.entry-single a{
    text-decoration: underline;
    font-style: italic;
    color: #8C8E90;
}
.entry-single ul,
.entry-single ol{
    margin: 1em 0;
}
.entry-single li{
    line-height: 1.6em;
    margin: 0 0 0.5em 0;
}
.entry-single img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}


.wrapper{
    width: 80%;
    margin: 0 auto;
    position: relative;
    border-left: 1px solid rgba(0, 39, 59, 0.08);
    border-right: 1px solid rgba(0, 39, 59, 0.08);
    background: #FFFFFF;

    /*
    border-left: 1px solid #E0E0E0;
    border-right: 1px solid #E0E0E0;
    */
}

#header{
    font-family: 'nBrandonRegular';
    font-size: 1em;
    background: #F3F3F3;
    border-bottom: 1px solid rgba(0, 39, 59, 0.08);
    /*box-shadow: 0 2px 0 rgba(255, 255, 255, 0.7);*/
    height: 4em;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    overflow: hidden;
    /* padding: 0.5em 0 0 0; */

    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
#header .logo{
    float: left;
    margin: 0.5em 0 0 2em;
    padding: 1.125em 0;
}
#header .logo img{
    height: 1.25em;
    display: block;
}
#header.small{
    height: 1em;
    background: #B9BDC1;
    border-color: transparent;
}
#header.small:hover{
    height: 4em;
    background: #F3F3F3;
    border-color: rgba(0, 39, 59, 0.08);
}

#header .border{
    width: 100%;
    height: 0.5em;
    border-top: 0.5em solid #004F50;
    position: absolute;
    top: 0;
    left: 0;
}

/*
#header .search-form{
	float: right;
	margin: 0 4% 0 0;
}
#header .search-form input[type="search"]{
	border: medium none;
    font-size: 1em;
    width: 5em;
    
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
#header .search-form input[type="search"]:focus{
	width: 8em;
}
#header .search-form input[type="submit"]{
	display: none;
}
*/

#header nav{
    float: right;
    margin: 0 2em 0 0;
    position: relative;
}
#header ul{
    padding: 0;
    margin: 0;
}
#header ul li{
    list-style: none;
    float: left;
    position: relative;
}
#header ul li a{
    display: block;
    padding: 0 2em;
    line-height: 4.667em;
    border-top: 0.667em solid;
    font-size: 0.75em;
}
#menu-item-29 a{
    border-color: #A7B842 !important;
}
#menu-item-30 a{
    border-color: #404449 !important;
}
#menu-item-31 a{
    border-color: #EC0044 !important;
}
#menu-item-32 a{
    border-color: #B9BDC1 !important;
    color: #B9BDC1;
}
.menu-item-home a{
    color: #A6B640;
}
.arrow-holder{
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
span.arrow{
    display: block;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 1em 1em 0 1em;
    border-color: #B9BDC1 transparent transparent transparent;

    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
#header.small span.arrow{
    border-width: 0.5em 0.5em 0 0.5em;
    border-color: #FFFFFF transparent transparent transparent;
}

#content{
    padding: 0 0 8.75em 0;
    overflow: hidden;
    margin: 4em 0 0 0;

    -webkit-transition: margin 0.2s ease-out;
    -moz-transition: margin 0.2s ease-out;
    -ms-transition: margin 0.2s ease-out;
    -o-transition: margin 0.2s ease-out;
    transition: margin 0.2s ease-out;
}
#content.small{
    margin: 0.5em 0 0 0;
}
.single #content{
    margin: 0;
}
#articles,
#article{
    margin: 0 0 0 0;
    padding: 1em 0 0 4%;
    width: 65%;
    position: relative;
    z-index: 1;
    float: left;
}
#article{
    padding-top:0em;
}

#articles article{
    border-top: 1px solid rgba(0, 39, 59, 0.08);
    padding: 2em 6% 1em 0;
}
#article article{
    border-top: 1px solid rgba(0, 39, 59, 0.08);
    margin: 0 0 2em;
    padding: 0 6% 0 0;
}
#articles article:first-child{
    border-top: none;
}
.article-category{
    font-size: 0.875em;
    line-height: 3.85em;
}
.article-category a{
    color: #8C8E90;
    text-decoration: none;
    font-style: normal;
}
.entry-header{
    margin: 0 0 1em 0;
}
.entry-header h1{
    color: #A7B842;
    text-transform: uppercase;
}
.entry-header h2{
    margin: 0 0 0.25em 0;
    line-height: 1.2em;
    font-size: 1.75em;
    font-weight: normal;
    font-family: 'BrandonBlack';
    text-transform: uppercase;
}
.entry-header h2 a{
    color: #A7B842;
}
.entry-header h2 a:hover{
    color: #5F4F4A !important;
}
.entry-image img{
    display: block;
    width: 100%;
    height: auto;
}
.entry-image.entry-single{
    margin: 4em 0 0;
    position: relative;
    overflow: hidden;
}
.entry-image.entry-single.small{}
.entry-image.entry-single img{
    -webkit-transition: opacity 0.5s ease-out;
    -moz-transition: opacity 0.5s ease-out;
    -ms-transition: opacity 0.5s ease-out;
    -o-transition: opacity 0.5s ease-out;
    transition: opacity 0.5s ease-out;
}
.entry-meta{
    font-size: 0.875em;
}
.entry-meta a{
    color: #8C8E90;
    text-decoration: none;
}
.entry-excerpt{

}
.read-more{
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.75em;
}
.more-articles{
    padding: 1em 0;
    line-height: 1em;
}
.more-articles a{
    display: block;
    font-size: 0.875em;
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 10em;
}
.more-popular-articles a{
    display: block;
    font-size: 0.75em;
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 14em;
}
article h2,
article h3,
article h4,
article h5{
    line-height: 1.6em;
}
.tags{
    float: right;
    font-size: 0.875em;
}
.tags a{
    color: #8C8E90;
    text-decoration: none;
    font-style: normal;
}
#article .tags{
    float: none;
    margin: 0 0 1em;
}
#sidebar{
    padding: 1.375em 4% 0 0;
    margin: 0 -1px 0 0;
    position: relative;
    float: right;
    width: 27%;
    border-left: 1px solid rgba(0, 39, 59, 0.08);
}
#sidebar h4{
    font-family: 'BrandonRegular';
    font-size: 0.875em;
    font-variant: small-caps;
    margin: 0;
}
#sidebar ul{
    padding: 0;
    margin: 0;
}
#sidebar ul li{
    border-top: 1px solid rgba(0, 39, 59, 0.08);
    list-style: none outside none;
    padding: 1em 0 1em 1em;
    position: relative;
}
#sidebar ul li:first-child{
    border: none;
}
#sidebar ul li.more-popular-articles{
    border: none;
    padding-top: 2em;
}

.more-popular-articles{
    line-height: 1em;
}
#sidebar .read-more{
    font-size: 0.75em;
}

.popular-header{
    /*
    font-family: 'BrandonBlack';
    text-transform: uppercase;
    */
    font-variant: small-caps;
    font-size: 0.875em;
    margin: 0 0 0.5em;
}
.popular-header a{
    text-decoration: none;
}
.popular-image{
    float: left;
    margin: 0 5% 0 0;
    width: 30%;
}
.popular-image img{
    display: block;
    width: 100%;
    height: auto;
}
.popular-excerpt{
    font-size: 0.875em;
}
.popular-footer,
.popular-footer a{
    font-size: 0.8em;
    text-decoration: none;
    text-transform: uppercase;
}
.popular-footer a:last-child{
    padding: 0 0 0 0.5em;
}
.popular-footer a:first-child{
    padding: 0 0.5em 0 0;
}
.author-box{
    padding: 0 0 1em 1em;
    border-bottom: 1px solid rgba(0, 39, 59, 0.08);
}
.author-box p{
    font-size: 0.875em;
    margin: 0 0 0.25em 0;
		
}
.author-box p.author{
position: relative;
  	top: 50%;
  	-webkit-transform: translateY(-50%);
  	-ms-transform: translateY(-50%);
  	transform: translateY(-50%);
}
.author-box p.author-bio{
    font-size: 0.85em;
    line-height: 1.25em;
    margin-top:15px;
}
.author-box a{
    text-decoration: none;
}
.author-avatar{
    border-radius: 50%;
    float: left;
    margin: 0 5% 0 0;
    overflow: hidden;
    width: 30%;
}
.author-avatar img{
    width: 100%;
    height: auto;
    display: block;
}
.author-info{
    float: right;
    width: 65%;
    height:82px;
}
.author-info .author{
    text-transform: uppercase;
    font-family: 'BrandonBlack';
}

#author.author-box{
    border: none;
    padding: 1.5em 0;
}
#author .author-avatar{
    width: 12%;
}
#author .author-info{
    width: 83%;
}
.comments{
    padding: 0 6% 0 0;
}

#footer{
    font-family: 'BrandonLight';
    background: #FFFFFF;
    padding: 2em 0;
    border-top: 1px solid rgba(0, 39, 59, 0.08);
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.8em;
}



#footer nav{
    text-align: center;
    position: relative;
}
#footer nav a{
    color: #695a54;
    font-family: 'BrandonLight';
    padding: 0 0.25em;
}
#footer nav a:hover{
    color: #A6B640;
}
#footer p{
    text-align: center;
    margin: 0;
}
#footer p.copyright{
    text-align: center;
}
.social-links{
    padding: 0;
    margin: 0 auto;
    width: 12em;
    overflow: hidden;
    padding: 1em 0;
    position: relative;
}
.social-links li{
    list-style: none;
    float: left;
    margin: 0 0.5em;
}
.social-links li a{
    background: #5F4F4A;
    color: #FFFFFF;
    display: block;
    text-align: center;
    line-height: 2em;
    width: 2em;
    border-radius: 1.125em;
}
.social-links li a:hover{
    background: #A6B640;
}
.social-links li a i{
    font-size: 0.75em;
    line-height: 2em;
    width: 2em;
    color: #FFFFFF;
}
article .sd-content ul{
    margin: 1em 0 0 0 !important;
    padding: 1em 0 !important;
}

.subscribe > div{
    padding: 1em 0 1em 1em;
    border-bottom: 1px solid rgba(0, 39, 59, 0.08);
}
#subscribe .subscribe{
    padding: 0;
    border: none;
}
.subscribe .widgettitle{
    display: block;
    font-family: 'BrandonRegular',Helvetica,Arial;
    font-size: 0.75em;
    text-transform: uppercase;
    margin: 0 0 0.5em 0;
}
.subscribe .textwidget{
    font-size: 0.875em;
}
.subscribe a{

    font-variant: small-caps;
    text-decoration: none;
    display: block;
}
.subscribe p{
    margin: 0;
}
.subscribe label{
    display: block;
    font-size:0.75em;
    text-transform:uppercase;
    font-family: 'BrandonRegular', Helvetica, Arial;
}
.subscribe input[type="text"]{
    border: 1px solid #CCCCCC;
    border-radius: 3px;
    color: #777777;
    font-family:BrandonLightItalic;
    font-size: 0.875em;
    margin: 0.375em 0 0.75em;
    outline:none;
    padding: 0px 5px;

    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
.subscribe input[type="text"]:focus{
    border-color: #999999;
}
.subscribe input[type="submit"]:before{
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font: normal 16px/1 'Genericons';
    vertical-align: top;
    position: relative;
    top: 3px;
    text-align: center;
    content: '\f410';
}
.subscribe input[type="submit"]{
    background: #F8F8F8;
    border: 1px solid #CCCCCC;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    color: #777777;
    display: inline-block;
    font-family: "Open Sans",sans-serif;
    font-size: 0.675em;
    font-weight: normal;
    line-height: 23px;
    margin: 0;
    padding: 1px 8px 0 5px;
    text-decoration: none !important;
    text-shadow: none;
    cursor: pointer;
    height: 2.25em;
}
.subscribe input[type="submit"]:hover{
    background: none repeat scroll 0 0 #FAFAFA;
    border: 1px solid #999999;
    color: #555555;
}
.subscribe .s2_error{
    color:#EC0044;
    font-size:0.875em;
    font-variant:small-caps;
    margin: 0.625em 0 0;
    font-family: 'BrandonRegular', Helvetica, Arial;
}
.subscribe .s2_message{
    color: #A7B842;
    font-size:0.875em;
    font-variant:small-caps;
    margin: 0.625em 0 0;
}
#subscribe input[type="text"],
#subscribe .s2_message,
#subscribe .s2_error,
#subscribe label{
    font-size: 1.125em;
}
#subscribe .s2_message,
#subscribe .s2_message code{
    font-family: 'BrandonRegular', Helvetica, Arial;
}
#article article#subscribe{
    border-bottom: none;
    padding: 1em 0 0 0
}
#subscribe label{
    margin: 0 0 0.625em 0;
}
#subscribe .s2_error{;
    margin: 1em 0 0 0;
}
#sidebar .cat-item{
    padding: 0;
    font-size: 0.875em;
    border: none;
}
#sidebar .cat-item a {
    display: inline;
}

.nav-expand {
    cursor: pointer;
    display: none;
    padding: 0 2em;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0.5em;
}

.nav-expand i {
    font-size: 1.75em;
    line-height: 2em;
}
.wp-caption{
    max-width: 100% !important;
}
.wp-caption-text {
    font-family: 'BrandonLightItalic', Helvetica, Arial;
    font-size: 0.875em;
    text-align: center;
}
#not-found{
    overflow: hidden;
}
#not-found h3{
    font-family: 'BrandonRegular';
    font-size: 6em;
    margin: 0;
}
#not-found .left{
    float: left;
    width: 30%;
}
#not-found .right{
    float: right;
    margin: 1.375em 6% 0 0;
    width: 57%;
}
#not-found h4{
    text-transform: uppercase;
    font-size: 0.85em;
    margin: 0;
}
#not-found p{
    font-size: 0.85em;
    line-height: 1.25em;
    margin: 0;
}

.entry-single-heading{
    bottom: 0;
    color: #fff;
    position: absolute;
    text-align: center;
    width: 100%;
    padding: 3em 0 3em 0;

    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.5))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#80000000',GradientType=0 ); /* IE6-9 */

}
.entry-single-heading h1{
    font-size: 3em;
    line-height: 1.4em;
}
.entry-single-heading .entry-single-info{

}
.entry-single-heading .entry-single-info a{
    color: #fff;
    font-style: normal;
    text-decoration: none;
}

div#jp-relatedposts h3.jp-relatedposts-headline
{
	font-size:18px;
}

div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title
{
	font-size:16px;
}

@media all and (max-width: 768px) {
    html{
        font-size: 12px;
    }
    .wrapper{
        width: 100%;
        border: none;
    }
    #sidebar{
        display: none;
    }
    #articles, #article{
        border-right: none;
        margin: 0;
        padding: 1em 5%;
        width: 90%;
    }
    #articles article{
        padding: 2em 0 1em;
    }

    *{
        -webkit-transition: none !important;
        -moz-transition: none !important;
        -ms-transition: none !important;
        -o-transition: none !important;
        transition: none !important;
    }
    #header{
        overflow: visible;
    }
    #header .border{
        border-color: #B9BDC1;
    }
    #header.small{
        background: #F3F3F3;
        border-color: rgba(0, 39, 59, 0.08);
        height: 4em;
    }

    #header nav{
        width: 100%;
        margin: 0;
    }
    #header nav ul{
        display: none;
    }
    #header nav.expanded ul{
        display: block;
        height: 100%;
    }
    #header nav li{
        height: 50%;
        width: 50%;
        position: relative;
    }
    #header nav li a{
        border: none;
        font-size: 1.25em;
        line-height: 3.5em;
        padding: 0;
        height: 100%;
        width: 100%;
        position: relative;
        text-align: center;
        color: #FFFFFF !important;
    }
    .arrow-holder{
        display: none;
    }
    #header nav li a .image-holder{%;
        height: 100%;
        width: 100%;
        opacity: 0.7;
    }
    #header nav li a span{
        position: absolute;
        width: 100%;
        display: block;
        bottom: 0;
    }

    #menu-item-29 .image-holder{
        background: url("http://devana.rs/images/devana_24_9.jpg") no-repeat scroll center center / auto 100% rgba(0, 0, 0, 0);
    }
    #menu-item-30 .image-holder{
        background: url("http://devana.rs/images/devana_4_9.jpg") no-repeat scroll center center / auto 100% rgba(0, 0, 0, 0);
    }
    #menu-item-31 .image-holder{
        background: url("http://devana.rs/images/devana_23_9.jpg") no-repeat scroll center center / auto 100% rgba(0, 0, 0, 0);
    }
    #menu-item-32 .image-holder{

    }

    .nav-expand{
        display: block;
    }
    .nav-expand span{
        border-color: #F3F3F3 transparent transparent transparent;
        border-style: solid;
        border-width: 1.125em 1.125em 0;
        bottom: -1em;
        display: none;
        height: 0;
        margin: 0 auto;
        position: absolute;
        right: 2.125em;
        width: 0;
        z-index: 1;
    }
    .nav-expand.expanded span{
        display: block;
    }
    #header nav.expanded{
        background: rgba(95,79,74,0.95);
        color: #FFFFFF;
        position: fixed;
        top: 4em;
        left: 0;
        width: 100%;
        height: 100%;
    }
    #header nav.expanded a{
        color: #FFFFFF;
    }

    .devana-logo{
        margin: 0 auto 3em auto;
        width: 8em;
        height: 8em;
    }
    .slider .slogan{
        padding: 0 0 2em 0;
    }
    .slider .slogan h3{
        font-size: 1.5em;
    }
    .slider .slogan h4{
        font-size: 1.375em;
    }
}
